package com.xuan.bkm.book.api;


import com.xuan.bkm.book.hystrix.MyFallbackFactory;
import com.xuan.bkm.dto.HttpResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "bkm-book",path = "/api/book",fallbackFactory = MyFallbackFactory.class)
public interface FeignApi {
    @RequestMapping("/findAll")
    HttpResp feignFindAll();
}
